package com.kosam.common;

import com.kosam.core.service.UserInfoService;
import org.springframework.beans.factory.InitializingBean;
import com.kosam.core.service.UserInfoService;

/**
 * Created by tgx on 2016/2/29.
 */
public class ServiceManager implements InitializingBean {

    private static boolean inited;

    public static UserInfoService userInfoService;

    public void setUserInfoService(UserInfoService userInfoService) {
        ServiceManager.userInfoService = userInfoService;
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        inited = true;
    }
}
